#!/bin/bash


mkdir -p ./logs

export DATA_SOURCE_NAME="host=127.0.0.1 user=user password=password port=5236 dbname=postgres sslmode=disable,host=127.0.0.1 user=user password=password port=5237 dbname=postgres sslmode=disable"

./opengauss_exporter --config opengauss_exporter.yaml --web.listen-address 0.0.0.0:9093  --log.level debug  >> ./logs/all.log 2<&1 &



